package com.sc.es.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
/**
 * @author sc
 * Created on  2018/2/6
 */
@Controller
public class HomeController {

    @GetMapping(value = {"/","/index"})
    public String index(){
        return "index";
    }
    @GetMapping("/logout/page")
    public String logOutPage(){
        return "logout";
    }
}
